/**
 * Copyright(c) 2013-2016 by Puhuifinance Inc.
 * All Rights Reserved
 */
package com.puhui.chome.model;

import com.puhui.chome.model.base.BaseModel;

/**
 * 监控项
 * 
 * @author dingxingang
 */
public class MonitorItem extends BaseModel {

    /**
     * @author dingxingang
     */
    private static final long serialVersionUID = 2344870133515620189L;

    private Long systemId; // 所属系统编号
    private String name; // 名称
    private String describe; // 描述
    private String monitorScript; // 监控脚本
    private int thresholdType; // 阈值类型 0：大于；1：小于；2：大于等于；3：小于等于
    private Long threshold; // 阈值
    private String dataScript; // 检查数据脚本
    private int executeMinute; // 执行分
    private Boolean enable; // 启用状态 1：启用；0：禁用
    private Boolean alarm; // 警报 1：报警；0：正常

    /**
     * @author dingxingang
     * @return the thresholdType
     */
    public int getThresholdType() {
        return thresholdType;
    }

    /**
     * @author dingxingang
     * @param thresholdType
     *            the thresholdType to set
     */
    public void setThresholdType(int thresholdType) {
        this.thresholdType = thresholdType;
    }

    /**
     * @author dingxingang
     * @return the alarm
     */
    public Boolean getAlarm() {
        return alarm;
    }

    /**
     * @author dingxingang
     * @param alarm
     *            the alarm to set
     */
    public void setAlarm(Boolean alarm) {
        this.alarm = alarm;
    }

    /**
     * @author dingxingang
     * @return the enable
     */
    public Boolean getEnable() {
        return enable;
    }

    /**
     * @author dingxingang
     * @param enable
     *            the enable to set
     */
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    /**
     * @author dingxingang
     * @return the systemId
     */
    public Long getSystemId() {
        return systemId;
    }

    /**
     * @author dingxingang
     * @param systemId
     *            the systemId to set
     */
    public void setSystemId(Long systemId) {
        this.systemId = systemId;
    }

    /**
     * @author dingxingang
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @author dingxingang
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @author dingxingang
     * @return the describe
     */
    public String getDescribe() {
        return describe;
    }

    /**
     * @author dingxingang
     * @param describe
     *            the describe to set
     */
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    /**
     * @author dingxingang
     * @return the monitorScript
     */
    public String getMonitorScript() {
        return monitorScript;
    }

    /**
     * @author dingxingang
     * @param monitorScript
     *            the monitorScript to set
     */
    public void setMonitorScript(String monitorScript) {
        this.monitorScript = monitorScript;
    }

    /**
     * @author dingxingang
     * @return the threshold
     */
    public Long getThreshold() {
        return threshold;
    }

    /**
     * @author dingxingang
     * @param threshold
     *            the threshold to set
     */
    public void setThreshold(Long threshold) {
        this.threshold = threshold;
    }

    /**
     * @author dingxingang
     * @return the dataScript
     */
    public String getDataScript() {
        return dataScript;
    }

    /**
     * @author dingxingang
     * @param dataScript
     *            the dataScript to set
     */
    public void setDataScript(String dataScript) {
        this.dataScript = dataScript;
    }

    /**
     * @author dingxingang
     * @return the executeMinute
     */
    public int getExecuteMinute() {
        return executeMinute;
    }

    /**
     * @author dingxingang
     * @param executeMinute
     *            the executeMinute to set
     */
    public void setExecuteMinute(int executeMinute) {
        this.executeMinute = executeMinute;
    }

}
